Xbasic

INET::SSLSocket::ReadBinary Method

Syntax

Result_Flag as L = ReadBinary(Data BYREF as B [, Length as N [, Timeout as N [, ReadExact as L]]])

Arguments

Result_Flag

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Data BYREF

The data received from the connection.

Length

Optional. Default = -1 (no limit). The number of bytes to read.

Timeout

Optional. Default = -1 (no timeout). The number of seconds before the method returns.

ReadExact

Logical

Description

The INET::SSLSocket::ReadBinary() method reads bytes from the connection into a BLOB variable.

See Also